package com.csu.tingtian.service;

import com.csu.tingtian.common.CommonResponse;
import com.csu.tingtian.vo.RentOrder;

import java.util.List;

public interface RentOrderService {
    CommonResponse<List<RentOrder>> getAllRentOrder();
    CommonResponse<List<RentOrder>> getRentOrderByRentUserName(String rentUserName);
    CommonResponse<RentOrder> getRentOrderByRentOrderId(int rentOrderId);
    CommonResponse<RentOrder> insertRentOrder(RentOrder rentOrder);
    CommonResponse<RentOrder> deleteRentOrderByRentOrderId(int rentOrderId);
    CommonResponse<RentOrder> updateRentOrder(RentOrder rentOrder);
}
